modify getPoem.py