added photos and search function