Cleaning pool.py