start of enable/disable draw control