add machine export function