Added solution for 8