changed singleton visibility