check pull function pull