pull ted name from db