implemented pull method