code related to JET collaboration midterm project