simpler global App setResolver example