ernie pattern