Added some time stamp code