added functions to List.cc