Completed code with synthetic case testing. Heading off to test on scope