make pattern static