nice logic to figure out if its rel/abs