Added score system logic