modified version to 1.427