modified 3Dlibs