Bluemix sample code