Finished all insert logic