Added new formula and changed the required attribute from 'sort' to 'type'