extracted score logic to external classes