purely for aesthetics, could we put this declaration and check before the one of mobConn?