change to button snippet