timeline use state