added general stats and metrics