changed conditional class