Added integrated code.