tutorial had invalid syntax