as a side note, AnswerHub has a Code Style options to post code in posts. Should make it easier to post and read