added analytics and fixed journal problem