Lib porting completed