Compute additional statistics
Better function