Thread moved from What's wrong with my code