I guess it's a question of going the fail-fast route versus structured control logic -- for now I've updated the code to make it simpler but have kept the SCL in place -- take a look and let me know what you think.