Decrease the complexity by replacing ternary operators with more readable code.