Allow z/x as valid inputs too