made obj global