add charts controller