add offsets to match