added contstructors for objectReader