working on the conditions