added function to list all instances