compact syntax for sequences in the foo factory