API:Block/Sample code 1