adding static c++ initialisations (not tested yet)
(and still need to check about the funky effect we get)