yes i had done that, if you want i can put header file code also