use a function instead of an extension