added functionality to check for instances and @return their values