viewThing is now its own function