new unit test and ovveride method