stored patterns with expressions