Implementation of multiple insert.