Some really bad code