adding second if