use unixtime for state data