improved data storage with granularities