adding pull method