change from static to object access
Merge pull request #70 from cfoellmann/oop-change

change from static to object access