Write partial function.