cool adding the submission function