changed input tag to button tag