added toggle of status