making a class