add export function for lists