change from storing in array to storing in object, so much better