changed the option interface