injected $state