Added solution to gc