commented out code for accessing photos