modified agapow