added advanced analytics