Add some comments to separate the variable logically according their functionality