added if ternary to join ? ternary... -sai