Tidied grammar