removing Z