added finding offset fxn