change method name to submit