added code example for data option