code at submission time