create collection before insertion