refactoring calculate score + manage bonus level