Added solution 2