Finished basic leveling up function