add += operator to fragment
add ternary operator sel ? a : b