it would help to see what the error is and what the code looks like