submit function rename