offset is now an integer