no longer using head.ref