incorporate puID variables from Maria