change array_access to c file