changed function for score text to get score size from parameter