sync code, finish processing actualArray