We are creating a new class every time this method is called. I think is better to memoize it