make pattern