after input works - now to link to buttons