Add conditions class