fussing.

Moved singleton call to top of function