basic obj reading. to be finished