initial code for complex numbers