Compiling version, TODO: serialization