Initial code for adding offsets