global variables for storing some set parameters and sto name. Added error handling to throw error when inconsistent structure and sequence are given