trying to get set state request working