Adding data controller