Reset to horias work
Displaying grid correctly
Working. Added proper timestamps also. This code is not nice!