export function added to test unit