Added pull function