sends to controller works with config