Sample code for big-data