API:Categories/Sample code 1