awful code