refactor submission handler