Changed: todo
add index for photos