convertion of conditions