optimize scoring algorithm and change results of console