Tested my method. now doing a string comparision rather than one on the object reference! needed to initialise the arrays too!