added working version of MA evaluation