ker function ready.