Basic sequence class