implementado oflyweight method.