got toggle to work