Insert has problem but not entirely sure how to fix it.