changed conditional in the view