incorporated statistics. did not test so pl. check for errors. Also think of different strategies