removed spurious 'static' and '__gshared'