changed action types to keywords