change ipp function