ternary operator to add & remove points