moved printer into separate class