returning config