making the exercises a bit simpler for class methods