OBF generation