Adding offset parameter later to be hooked into run function