Use all arrays instead of maps