setting up toggles