You presumably never actually ran this, because rQuality is never declared or given a value and presumably won't even begin to run.