implement localstrategy #202