demo program for my graduate research