controller and basic event binding