Added analytic data-gathering functions