made offset a reference