sample code for datasift