Program running correctly