added lazy version of get_sequence