Added deletealldata call