worked on random mode scoring