add working stateParams example