Removed puts and made condtional statment easier to read