a pool is used for swimming