Working Condition

Hopefully this works, it works so far but can be more efficient