In module input validation logic