use only 5 last evenst for timestamp caching
reindent only!