stylistic change
docs for string literal
added patterns block opener and closer
some refactoring to avoid collisions + redudant parentheses removal
added statements and block