Changed methods to accept String name instead of string n.