make the  button work