added photostatistics