created a class