learning to create location-centric widgets