$smcFunc isn't used here, coud be removed..same applies for most of the other static functions