for homework projects of stat692 course