sequenceFrom implementation