adding validation in submission_context