code formatting
triple blade and test for values