add enable and disable method