added helper method comment