making sure offset is okay