Could you post your code? It's kind of hard for us to figure out what's wrong without it.