removed the if statement setup as it failed.
Now trying a switch statement.