separate files 'app' and 'pattern'