Got it to print when I clicked an object....now I need to assign a 'tag' or 'name' to each one of the objects that are created