API:Revisions/Sample code 2