removed ill-advised (sqrt -1) test