working submit and get