inple  function