change line 16 (MAXPAL=7)