created toggle from memory