finishing first 3 functions, get the offset 2 function