Added Random score function