Removed excess variables to add counter variable