altered the list() of several functions, added len-x tests