time dependency based on states