changed enable and disable methods