FIX: indexing for append method