added sequence class