should be static to avoid warnings

does it work for you?