change controllers functions