Fixed sample 1 not compiling