trying out indexing arrays to see if works