deleted useless codes (if clauses)