added functions enable and disable