Added the parameter concurrency which allows to insert at the same time multiple frames