Updated generic List class