add oil export function