savedName is redundant, you can just use arg.