replaced button tags with input