setting up singletons