now we may use `cache` before adding to layer