Successfully placed new code including procedure function and part of main code.