adding sampling greenwald methods