Adding timestamp printing in ouput