Compilied and running but with NaN