Finish initBadThings and getRank methods