better (uh, non-stubbed) dir check
adding view generator