added rt and fav functions