bug in getInitialStats fixed
partial commit