use function, not export as property