fleshing out the class