added manual toggle