modify export function