Prep for interests algorithm