Added export function