modify and add on mathalgs folder