utilities to work with option data