Added own solution (taken the other solutions into consideration)