removed code for toggle button