added pool definition