fixed #6, parent should print the results of mean