adding targetOffset option