For loop functioning, some parsing errors.