export an object instead of a function