First attempt at oop