Can you some code snippet so that we have a better idea of how you are doing it??