Added sequence_generator (to simplify sequence use)