originally the method creates and returns the array, and i split it into two methods : create_insert_array() and get_insert_array()