Implemented analytics thingy