trab4 changes: now the scope can't overwrite name