passing a class requires work