rename state to keyframe