problem nr 3 solved and reworked