A little refactoring of AlphaScore