removed offset and renamed a boolean flag