pattern view working again; scraped module idea (for now) except to wrap constants