adding pool size option