Extracting to constructor
Reproducing the issue