Refactor create_score_line() #18