Updated min file
Simplified condition