must use bash [[ idiom here