Updated List type, and added empty function