picture indexing finally works