added photo.java