Implement unbif and test it