Added seq and adj functions