adding statAllSync