castrated add favs code for safety