changed datatype to timestamp