i have made a sample program to give u that i made a few months ago. u can use it.