add in scoring algorithm and changes