implemented disable/enable method