figuring out how reference resources