Is the `isRelavtive` local variable supposed to be `isRelative`?