add base codes and resource