ensure the data is correctly set by using the setter insteadd of passing it throught the constructor