This would be cleaner if you placed `return offset;` before `out:`.