Probably better to move it to the constructor