Calculator and PhotoGallery examples