solved #3