Converted elements to maps, added release loop.