new functions and manager lib