added RandomAccess
implemented SubList
minor inconsistency fixes