added comments to helper methods