This is a small set of code that helps me with deals with arrays that store objects