ex 4 solved with some issues left