Added toggle function;