trying to lightweighten the compilation process