changed 'submit' button to 'button' type