making buttons interactive