added new button and code for button