try a function containing a static method call