replaced toggle