working on class slots