Refactored Insert