Modified scoring algorithm