add controller support
modify controller