add controller & disabled button function