Removed unncecessary function validOffset

This isn't required anymore