Title: The Kingdom Algorithm