added new correct sol 3