merged read.py