Removed misplaced word and used "then" to prevent "and ... and"