use a class instead of reifying on every call