Added tag:'rest' func and testing!