created separate score class