hastily put together potential component inspection appears to work with simple example