Cleaned code by creating additional methods to house code