updated score to deal with extra types