variable as action condition