Add option function to  utils