You didn't leave us much to go on. It is like me asking you, "What is wrong with my program?". You can't see my code. You have no idea what it is supposed to do. No way to see what it currently does...