modified problem for PAL 3