Used namedtuple for basic methods