write timestamp for each behavior