deleting redundant pictures