added new options to control