implement agenda input validation in the Parser