Added append_sequence method