Stateless class solution