lookup_cons defined, minor clean up