reset with data should incldue resetgin initail value