Added offset variables