storing correct data