Use arrays instead of lists