Score algorithm added (To be updated)