modify controller