Putting void in front says start of illegal expression which I also don't fully understand