nit s/use function/use const