Simplify getRelative method