add a pointer for submit button