compiling standalone version, still in modification
v0, error in compiling