added conditional evaluation to pred format