also account for ref