defining classes
defining class methods