call viewer and better generator