To optimize the options