getting object orientedness to work