use linkTo for state transitions