adding discussion of type