- automate the offset part