replace timestamp with session number