Added a bunch of messy code