Design of pools