edited conitional statement on header