still not working to get this toggle working