added new functions to router