add support for sequences, added some examples