Modified Problem4