Keep building
channge  SystemParams to a global variable
cahange to global