errors - set up functions as encapsulated object/class