Bulk insert 

Add a little clean up of the code