Patterns work
closes #68 - patterns work

Also closes #70 closes #69