conflict for loop is not executing. Can't figure out why.