just re-arranging methods../ref/mineswpr.org