add d and e type