built a store, used eventEmitter, tied it back into component state