code looks a little clearner, singletons for store are being set up