fixes #5 - correct private class methods

rubocop --only Lint/UselessAccessModifier