paco3.py: IS
paco3.py: some code improvements