changed var selection in the final result