Dev 1.0

latest and finalize details of my project
It is better to declare the variable here instead of a global variable in line 91. Since this is only used within the scope of this for-loop