Please format your code properly. Point 11 here How to help us help you - or How to ask a good question