merge stock kernel