added sequence and sequence class