submission proxy code