ported better model configuration from blog bundle: