We would need your code to see what you have done in order to help you figure out what is wrong in it.