slow version of c-array now ready