Promote algo to top level