work around the usual C++ fun
get rid of unused struct