added validate to bulk insert