Core functionality for my mods