new functions and config