I've moved this thread to 'what's wrong with my code'