passing a class is for benefitting from previous work