added toggle option