move itemrec to top level