Cringe at this code