J: fixed functions with arrays