pattern for the class developed