solved #4