Added more awful, badly written code.