made run a class method