working submit process