cleaned up addTo method