changed code for toggle