libs and ref