better menu declaration and view call
generated CT