complex numbers pre-implementation