Changed data type of timestamp from double to long