Stable version with IPB

Add IPB related functions