added memory and time graphs and explanations