(feat) add functions for pending routes