Using complex numbers