made the code fugly