possible way to use objrec