starting initial read function