nasty code for redesign