fixed problem 7, wasnt returning correct lict