added legenda and timestamps