analytics class added