A method for operating a compression ignition engine, the engine having at least one cylinder and a piston moveable in the at least one cylinder, and the method comprising the steps of: - forming a combustible mixture by mixing generally homogeneously a first fuel and air and introducing this mixture into the at least one cylinder - compressing the combustible mixture with the piston in a compression stroke - during the compression stroke but before start of combustion adding a second fuel to the combustible mixture, thus creating a cylinder charge, the second fuel being easier to autoignite than the first fuel - continuing the compression stroke until combustion starts at those locations in the cylinder where concentration of the second fuel and / or temperature of the mixture is highest, characterized in that a temperature of the cylinder charge, or the amount of second fuel added to the combustible mixture or a combination of both is being chosen such that a desired duration of combustion can be achieved, wherein injecting the second fuel later increases the combustion speed and shifts the combustion phasing earlier and that - the injection time of the fuel being easier to auto-ignite is chosen between 80° to 60° BEFORE FIRING TDC is chosen; - a lambda value between 1,8 and 2,3 or 2,3 to 2,6 or 2,6 to 2,9 or 2,3 to 2,9 is chosen, - an internal EGR rate between 3 to 20 % is chosen, - the amount of fuel being easier to auto-ignite is chosen between 1 to 7 % with respect to the energy content of the change, - the mixture temperature at intake of cylinder is chosen between 70° to 100°C and wherein - the brake mean effective pressure is between 14 and 26 bar, - the compression ratio (ε) is between 10 and 14 and - the intake valve closing at 1 millimeter lift is between 30 degrees before bottom dead center and 30 degrees after bottom dead center during the intake stroke. - forming a combustible mixture by mixing generally homogeneously a first fuel and air and introducing this mixture into the at least one cylinder - compressing the combustible mixture with the piston in a compression stroke - during the compression stroke but before start of combustion adding a second fuel to the combustible mixture, thus creating a cylinder charge, the second fuel being easier to autoignite than the first fuel - continuing the compression stroke until combustion starts at those locations in the cylinder where concentration of the second fuel and / or temperature of the mixture is highest, - the injection time of the fuel being easier to auto-ignite is chosen between 80° to 60° BEFORE FIRING TDC is chosen; - a lambda value between 1,8 and 2,3 or 2,3 to 2,6 or 2,6 to 2,9 or 2,3 to 2,9 is chosen, - an internal EGR rate between 3 to 20 % is chosen, - the amount of fuel being easier to auto-ignite is chosen between 1 to 7 % with respect to the energy content of the change, - the mixture temperature at intake of cylinder is chosen between 70° to 100°C - the brake mean effective pressure is between 14 and 26 bar, - the compression ratio (ε) is between 10 and 14 and - the intake valve closing at 1 millimeter lift is between 30 degrees before bottom dead center and 30 degrees after bottom dead center during the intake stroke.