conversion to complex works