Fixed the problem with stalling which was caused by the insert method.