compiled Xavier's code for linux