add comments and more functions like erase elements in list