fixed problem III