submit function created