Create completedCode