added photo handeling