updated new functions.