testing pull function