History now being calculated and shown on the app