Added solution for #50