parameterized gd extension