using == for motionstates