Please format your code as per section 11 here: How to help us help you - or How to ask a good question.