Deleted a bunch of code which i was not using