add to ex48.py