single condition to complete multiple actions