Example program using Fragments