adding button functionality
tweaking params