Add function, comments to make more usable.