add badges-system and add reverse func in core