changed name of class displayLogic