Change method var declaration to refer to an interface (List)