robertkoss
New Contributor III

Hey, the problem is 

distinct()

because it requires a state.