check for option