switched to ruby-privacy for method