removed toggle function

toggle function made obsolete by two collection method.