streamlined inject and insert functions