better module view generation