Code for submission platform