better use of .config()