using user_states instead of states now