renaming, refactoring and adding description for pattern