Added solution dealing to deal method