The newline in the source code makes it harder to spot, but there is a run-on sentence here. It should be split into two, or joined with a comma and a conjunction (perhaps "as").