easier way of resetting ram_data