store offset with group