Basically working.
Return nil if inBlock hasn’t been set.