added canToggle