allowing static class variables to be passed by ref