experiments with pattern expansion