added pool to entity