added more list functions and fixed others