add methods and name types