Added more comments to functions.