Simplify the logic's readability