move pattern to folder structure to better organize