TD for later - ajax controller or function