made enable enable, and disable disable. swapped if statement to correct params