Sample code for GIDS 2014