working on OO, adding methods