add snake type (namedtuple)