added exception for NoneType as score and set default score to 0 if exception thrown