compiles, pointer is being obtained at module level