add multistore support