triggers have access to  env, unix timetstamp of last state change