passing a class is for moving ahead