breaking up exposer code