Assignment 6: added Proc as assignment to be added to nametable