fixed problem5