Moved patterns off into their own file