this block of code feels weird next to the rest of the code in the constructor.