helper method better named
merged with master branch