commit of controller and demo