new functions in server