Create wholecode