a sample fragment demo