separate out submissions into its own code