declare sc only once
Merge pull request #4 from michielbdejong/patch-3

declare sc only once