small modifications in multiple.py