added random score function
git errors debugging