wacky
Entered if empty values
Added Ternary and corrected if empty