testing ternary statement

placed a ternary statement for easier reading