Changed timestamp from integer to bigint to prevent overflow