Fixed compiling example