public function levelToXp($level)
    {
        $xp = 0;

        for ($i = 1; $i < $level; $i++) {
            $xp += floor($i + 300 * pow(2, ($i / 7)));
        }

        $xp = floor($xp / 4);

        // Check if our value is above 200m, if so return 200m, otherwise our value
        return ($xp > 200000000 ? 200000000 : $xp);
    }