lol core functions