move each action method into component