update readme with ternary operator info