some new wrap functions added