list handling fully implemented