maybe call setupHandler here instead?