testing button functionality