add second line of ternary operator