added @export to function header