did most of the classhandler, for now