changed rankingPoints to double, change DB