Change "type" to "action"