3 methods are unit tested