OOP with complex numbers