added frederik toggle