removed unnecessary array_merge