replace or(||) operator by >= to make the code less redurant.