Added a prototype scoring algorithm