added sample for displaying results