Extracted a method
Merge pull request #1 from piotr-sobczyk/master

Extracted a method