Tweaked pull function