add offline data with some bugs