example compiling with fixes