comparison moved to the quarters class to stop Feature Envy
minor refactoring