completed added comments to functions