Made the code ugly