adds-sample compiling