compile for submission