try something ELSE (more intelligent) to get rid of deprecated pass by reference errors