Divide to function.