Refactored addToList implementation specific logic into hotspot method to implement