Removed unnecessary lines
Just added variables for arrays