there should be a space after ``foreach`` and it show be lower case ``as``