reorganization of 2 plugins in a struct