Running Code with all columns(two scores)and code refactoring