add default type method example