Create dynamic array for calling the custom data or not