Added first helper method
added a comment