added target method for button press