using pool class for both size and color