list adding functinality