make condition inline