fixed prog2, prog3