needs to pass a class