And when you do that, post the code. No one can give you advice on a code problem sight-unseen.