added persistence in the form of dets