Tidied submitted code