End scene code conditions not working

I have the following code that give the conditions when the scene must end:

Crime scene ends when 
the player is in the Alleyway and
the player carries the newspaper and 
the player carries the smithwesson and 
the player carries the bus ticket and 
the player carries the bullet casing and 
centgungtore is "recorded" and
smithWesson is "recorded" and
bus ticket is "recorded" and 
bullet cassing is "recorded" and
bloodstaindoor is "recorded".

Now i get the following error:

**Problem.** You wrote 'Crime scene ends when the player is in the Alleyway and the player carries the newspaper and the player carries the smithwesson and the player carries the bus ticket and the player carries the bullet casing and centgungtore is "recorded" and smithWesson is "recorded" and bus ticket is "recorded" and bullet cassing is "recorded" and bloodstaindoor is "recorded"' [![](inform:/doc_images/Reveal.png)](source:story.ni#line576): but 'begins when' and 'ends when' must be followed by a condition, which this does not seem to be, or else 'when play begins', 'when play ends', 'when S begins', or 'when S ends', where S is the name of any scene.

What am I missing?

only things can be carried and it’s not meaningful to test whether a thing is a text, so smithWesson is "recorded" doesn’t make sense.

Thanks I found the problem.

I am using a notebook recording system and just needed to add “the” in front of the smithWesson and other lines that folllow.

Not sure why but it is working now without any errors.