calculated and shown data with previous data