new interface
added new functions to wrapper