simplified conditional statement by existing means