improved if/elif/else statement for Clauses